﻿using CarEdge.Infrastructure.Attr;
using CarEdge.Infrastructure.Dto.Request.Consume;
using CarEdge.Infrastructure.Dto.Request.Reservation;
using CarEdge.Infrastructure.Dto.Response;
using CarEdge.Infrastructure.Dto.Response.Reservation;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CarEdge.Service.Interface.Reservation
{
    [Provider_]
    public interface I_Reservation_EFCore
    {
        Task<Api_Response_Dto> addreservation(Reservation_Request_Dto dto);
        Task<Api_Response_Dto> bindallbyids(string pids, string setmenuids);
        Task<Api_Response_Dto> bindallreservation(string key);
        Task<Api_Response_Dto> bindproductbyids(string pids);
        Task<Api_Response_Dto> bindsetmenubyids(string setmenuids);
        Task<Api_Response_Dto> GetAllUser(string date);
        Task<Api_Response_Dto> GetName(string phone);
        Task<Api_Response_Dto> GetReservationByid(string activeName);
        Task<Api_Response_Dto> Recharge(Consume_Request_Dto dto);
        Task<Api_Response_Dto> updatereservation(Reservation_Request_Dto dto);
    }
}
